package com.code4lazy.service.impl;

import com.code4lazy.dao.AdminDao;
import com.code4lazy.pojo.Admins;
import com.code4lazy.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author geekforfree
 * DATE   2018/3/18
 */

@Service("AdminService")
public class AdminImpl implements AdminService {

    @Resource
    private AdminDao adminDao;

    // 重写

    @Override
    public Admins selectByName(String name){
        return adminDao.selectByName(name);
    }


}
